//{ "allowTupleTypes": "always" }
type Foo = [number];

type Foo = [number] | [number, number];

type Foo = [number] & [number, number];

type Foo = [number] | ([number, number] & [string, string]);

type Foo = keyof [string];

type Foo = [string] | [number, number];

type Foo = readonly [string] | [number, number];

type Foo = readonly [string] | readonly [number, number];

type Foo = keyof [string] | [number, number];

type Foo = keyof [string] | keyof [number, number];
